<script setup lang="ts">
import axios from "axios";

const props = defineProps({
  id: {type: Number, required: true},
  price: {type: Number, required: true},
})



const iframeValue = ref<any>('')


</script>

<template>
  <Dialog >
    <DialogTrigger>
      <Button @click="payTour(props.id, props.price)" class="w-full">Оплатить</Button>
    </DialogTrigger>
    <DialogContent class="w-full">
      <iframe src="" class="w-full"></iframe>

      <DialogFooter>
        <DialogClose>
          <Button variant="outline">Закрыть</Button>
        </DialogClose>
      </DialogFooter>
    </DialogContent>
  </Dialog>
</template>

<style scoped>

</style>